package Lab2.Exc3;

public class Staff extends Employee {
    private String title;

    public Staff(String name){
        super(name);
    }

    @Override
    public String toString(){
        return "Class: Staff, name: "+this.getName();
    }
}
